package mes.kanban.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 系统作业
 * @author zongrui.liu
 */
@Entity
@Table(name="MES_JOB")
public class MesJob implements Serializable{

	private static final long serialVersionUID = -8224640716098342179L;
	
	@Id
	@Column(name="id")
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	private String id;
	
	/**
	 * 作业编码
	 */
	@Column(name="job_code")
	private String jobCode;
	
	/**
	 * 作业描述
	 */
	@Column(name="job_desc")
	private String jobDesc;
	
	/**
	 * 作业内容
	 */
	@Column(name="job_content")
	private String jobContent;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getJobCode() {
		return jobCode;
	}

	public void setJobCode(String jobCode) {
		this.jobCode = jobCode;
	}

	public String getJobDesc() {
		return jobDesc;
	}

	public void setJobDesc(String jobDesc) {
		this.jobDesc = jobDesc;
	}

	public String getJobContent() {
		return jobContent;
	}

	public void setJobContent(String jobContent) {
		this.jobContent = jobContent;
	}
	

}
